package web

type Code int

const (
	SUCCESS Code = 1
	FAIL    Code = 0
)

type Result struct {
	Code Code        `json:"code"`
	Msg  string      `json:"msg,omitempty"`
	Data interface{} `json:"data,omitempty"`
}
